package com.stockz.ui.swing.charting.widget.toolbar;

import com.stockz.ui.swing.charting.view.StockChartPanel;
import com.stockz.ui.swing.charting.widget.ActiveBarButton;
import com.stockz.ui.swing.charting.widget.ChartTypeCombobox;
import com.stockz.ui.swing.charting.widget.TimeUnitCombobox;
import com.stockz.ui.swing.charting.widget.ZoomInButton;
import com.stockz.ui.swing.charting.widget.ZoomOutButton;
import com.stockz.ui.swing.widget.JToolBar;

public class ViewToolbar extends JToolBar {
	private static final long serialVersionUID = -3780139336804118306L;
	
	public ViewToolbar(StockChartPanel stockChartPanel) {
		add(new ChartTypeCombobox(stockChartPanel));
		add(new TimeUnitCombobox(stockChartPanel));
		add(new ZoomInButton(stockChartPanel));
		add(new ZoomOutButton(stockChartPanel));
		add(new ActiveBarButton());
	}
	
}
